﻿<controls:MetroWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:main="clr-namespace:EpicLeadManager.Views.Main" x:Name="metroWindow" x:Class="EpicLeadManager.MainWindow"
    Height="600"
    Width="800"
    Icon="Resources/king_logo.png"
    ShowIconOnTitleBar="True"
    ShowTitleBar="True"
    BorderThickness="0"
    GlowBrush="Black"
    WindowStartupLocation="CenterScreen"
    NonActiveWindowTitleBrush="#99647687"
    WindowTitleBrush="#FF4A5763"
    mc:Ignorable="d"
    Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" MinWidth="800" MinHeight="600"
    ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto">

    <controls:MetroWindow.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Skins/MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </controls:MetroWindow.Resources>

    <controls:MetroWindow.RightWindowCommands>
        <controls:WindowCommands>
            <Button Click="ShowRepo_OnClick"
                    ToolTip="Voir le projet en cours">
                <TextBlock Text="indev" />
            </Button>
        </controls:WindowCommands>
    </controls:MetroWindow.RightWindowCommands>

    <controls:MetroWindow.Title>
        <StaticResource ResourceKey="AppName" />
    </controls:MetroWindow.Title>

    <!-- your content here -->
    <ScrollViewer x:Name="LayoutRoot">
        <main:MainControl />
    </ScrollViewer>

</controls:MetroWindow>